package Demo4;

public class Banker extends Person{

    public void sleep(){
        System.out.println("Banker sleepign...");
    }
    public void walk(){
        System.out.println("Banker walking...");
    }
    public void invest(){
        System.out.println("investing...");
    }
}
